fn main() {
    // 1.
    var a = 0xffff
    var b = 0o777
    var c = 0b1111000
    println(a+b+c)

    // 2.
    var a1 = 0xAfB01 + 0o12721
    var b1 = 0b111 - 0x12345
    var c1 = 0b1010 * 12
    var d1 = 0o12 as f64 / c1 as f64
    println(a1, b1, c1, d1)


    // 3.
    var a2 = [0x123, 0o123, 0b10101, 233]
    a2.push(0o444)
    a2.push(0x1F3)
    a2.push(0b110)
    println(a2[0], a2[1], a2[2], a2[3], a2[4], a2[5], a2[6])
}